<?php
class modules_default_forms_ProjectForm extends forms_FormBase
{
    /**
     * Init
     * @see Zend/Zend_Form#init()
     */
    public function init()
    {

        $oNameElement = new Zend_Form_Element_Text('name');
        $oNameElement = $this->_initDefaultFiltersAndValidators($oNameElement);
        $this->addElement($oNameElement);

        $oBaseElement = new Zend_Form_Element_Text('base');
        $oBaseElement = $this->_initDefaultFiltersAndValidators($oBaseElement);
        $this->addElement($oBaseElement);
        
        $oSDateElement = new Zend_Form_Element_Text('start_date');
        $oSDateElement = $this->_initDefaultFiltersAndValidators($oSDateElement);
        $this->addElement($oSDateElement);        
        
        $oEDateElement = new Zend_Form_Element_Text('end_date');
        $oEDateElement = $this->_initDefaultFiltersAndValidators($oEDateElement);
        $this->addElement($oEDateElement);      

        $oProjectNumElement = new Zend_Form_Element_Text('project_num');
        $oProjectNumElement = $this->_initDefaultFiltersAndValidators($oProjectNumElement);
        $this->addElement($oProjectNumElement); 
          
        $oTimeoffElement = new Zend_Form_Element_Text('time_off');
        $oTimeoffElement = $this->_initDefaultFiltersAndValidators($oTimeoffElement);
        $this->addElement($oTimeoffElement);        
        
        $oBillableElement = new Zend_Form_Element_Text('billable');
        $oBillableElement = $this->_initDefaultFiltersAndValidators($oBillableElement);
        $this->addElement($oBillableElement);  
    }
}